package xyz.xmh.pattern.behavioral.visitorpattern;

/**
 * @author Administrator
 * <p>
 * 访问者模式演示类
 */
public class VisitorPatternDemo {

    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
